<%@page import="java.util.Date"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <h1>List of ${wars[0].fileName} versions</h1>
    <div class="list-group">
    <c:forEach items ="${wars}" var="war">
        <jsp:useBean id="itemDate" class="java.util.Date" />
        <jsp:setProperty name="itemDate" property="time" value="${war.timeStamp}" />
            <a class="list-group-item" href="${pageContext.request.contextPath}/war/browse/${war.fileName}/${war.timeStamp}">${war.fileName}
            <fmt:formatDate pattern="dd. MM. yyyy hh:mm:ss" value="${itemDate}" dateStyle="long" timeZone="GMT+2"/></a>
    </c:forEach>
    </div>
